Fix search hardcoding in crud