Fixed the elusive null pointer error within metamethods.