Changed the find_by_param method to find_by! because find_by returns nil when record is not found, while the return of find_by! is "record not found".

refs #1399