removed debug statements, fixed limit/skip logic in search controller