Defensive coding in element model getDefault, to check that $default is
a string before doing a stristr() on it.