nla/amberdb — pull request #94 by huwr (2014-02-06 00:24:47+00:00)
Title: Fix if condition

Hi,

I think this if is broken. Now it will short circuit the if when subtypes array is empty or null.

@scoen can you please check this? Jon and I were a little surprised by this and may have missed something obvious.

Huw.