You have two recordsets with the same SQL statement. I think you updated the wrong one so I'm not sure what the second SQL statement used to say. The one I gave you was to replace line 258, but it looks like you replaced line 282.
What was the old SQL statement on line 282? I can advise you on how to update that one too but I don't know what it was originally at this point.