Replace TOP placeholder with 1

SQL Server error: it can't seem to pass $lim parameter so it had to be removed