Fixed more dumb logic for filtering out non-integers