WOW I was debugging the wrong thing. Fixed incorrect function call.