Search bug

- Fixed js to trigger on dropdown change only
- Moved lesson plans index param checking to controller boundary