As I stated in the comments above. The solution was to rewrite the query in a different way I replaced "geography::STGeomFromText" with
l.GeoLoc.STDistance(@dist.STBuffer(0.2).STAsText()) as Distance
and placed the following at the top of the query
DECLARE @dist AS Geography = 'POINT({0} {1})'