bug fix for capybara selector

Fix for error message: Capybara::Ambiguous: Ambiguous match, found 2 elements matching css "tr:last"