Added ability modifier helper function to only return non-nil modifiers