Prevent nil dictionary insertions