converted API call to use pluck() to return a simple array of ids for matched leave_days.