Updated handling of populates

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Allow array as primary in fetchForAction

Signed-off-by: Tom Wright <tom@inflatablecookie.com>