Added where to statement and it fixed issue.