Fixed bug in error efficiency weights